/**
*author : Joey.ma
*create date : 2021/12/02 
*updata date : 2022/02/13
*version : 1.0.1
**/

$(".navbar-brand").mouseover(function(){
  $(".nav-tip").css("display","block")
})
$(".navbar-brand").mouseleave(function(){
  $(".nav-tip").css("display","none")
})
      
      
$("#index-pc-hot").mouseover(function(){
    $("#index-pc-hot").css("border-bottom","3px solid #0db3a6");
    $(".hot-links-none").css("border-top","1px solid #ddd");
	$(".hot-links-none").css("display","block");
	$(".hot-links-none").css("z-index","2");
	$(".hot-links-none").css("position","fixed");
	$(".code-links-none").css("display","none");
	$(".work-links-none").css("display","none");
	$(".office-links-none").css("display","none");
	$(".do-links-none").css("display","none");
	
})
$("#index-pc-hot").mouseleave(function(){
   $("#index-pc-hot").css("border-bottom","none");
   $(".hot-links-none").css("display","none");
})
$(".hot-links-none").mouseover(function(){
    $("#index-pc-hot").css("border-bottom","3px solid #0db3a6");
    $(".hot-links-none").css("display","block");
})
$(".hot-links-none").mouseleave(function(){
    $("#index-pc-hot").css("border-bottom","none");
	$(".hot-links-none").css("display","none");
	$(".hot-links-none").css("z-index","0");

})

$("#index-pc-code").mouseover(function(){
    $("#index-pc-code").css("border-bottom","3px solid #0db3a6");
    $(".code-links-none").css("border-top","1px solid #ddd");
	$(".code-links-none").css("display","block");
	$(".code-links-none").css("z-index","2");
	$(".code-links-none").css("position","fixed");
	$(".hot-links-none").css("display","none");
	$(".work-links-none").css("display","none");
	$(".office-links-none").css("display","none");
$(".do-links-none").css("display","none");
})
$("#index-pc-code").mouseleave(function(){
   $("#index-pc-code").css("border-bottom","none");
   $(".code-links-none").css("display","none");
})
$(".code-links-none").mouseover(function(){
    $("#index-pc-code").css("border-bottom","3px solid #0db3a6");
    $(".code-links-none").css("display","block");
})
$(".code-links-none").mouseleave(function(){
    $("#index-pc-code").css("border-bottom","none");
	$(".code-links-none").css("display","none");
	$(".code-links-none").css("z-index","0");

})


$("#index-pc-work").mouseover(function(){
    $("#index-pc-work").css("border-bottom","3px solid #0db3a6");
    $(".work-links-none").css("border-top","1px solid #ddd");
	$(".work-links-none").css("display","block");
	$(".work-links-none").css("z-index","2");
	$(".work-links-none").css("position","fixed");
	$(".hot-links-none").css("display","none");
	$(".code-links-none").css("display","none");
	$(".office-links-none").css("display","none");
$(".do-links-none").css("display","none");
})
$("#index-pc-work").mouseleave(function(){
   $("#index-pc-work").css("border-bottom","none");
   $(".work-links-none").css("display","none");
})
$(".work-links-none").mouseover(function(){
    $("#index-pc-work").css("border-bottom","3px solid #0db3a6");
    $(".work-links-none").css("display","block");
})
$("#index-pc-work").mouseleave(function(){
    $(".work-links-none").mouseleave(function(){
        $("#index-pc-work").css("border-bottom","none");
		$(".work-links-none").css("display","none");
		$(".work-links-none").css("z-index","0");
		

	})
})

$("#index-pc-office").mouseover(function(){
    $("#index-pc-office").css("border-bottom","3px solid #0db3a6");
    $(".office-links-none").css("border-top","1px solid #ddd");
	$(".office-links-none").css("display","block");
	$(".office-links-none").css("z-index","2");
	$(".office-links-none").css("position","fixed");
	$(".hot-links-none").css("display","none");
	$(".work-links-none").css("display","none");
	$(".code-links-none").css("display","none")
    $(".do-links-none").css("display","none");
})
$("#index-pc-office").mouseleave(function(){
   $("#index-pc-office").css("border-bottom","none");
   $(".office-links-none").css("display","none");
})
$(".office-links-none").mouseover(function(){
    $("#index-pc-office").css("border-bottom","3px solid #0db3a6");
    $(".office-links-none").css("display","block");
})
$(".office-links-none").mouseleave(function(){
    $("#index-pc-office").css("border-bottom","none");
	$(".office-links-none").css("display","none");
	$(".office-links-none").css("z-index","0");

})


$("#index-pc-do").mouseover(function(){
    $("#index-pc-do").css("border-bottom","3px solid #0db3a6");
    $(".do-links-none").css("border-top","1px solid #ddd");
	$(".do-links-none").css("display","block");
	$(".do-links-none").css("z-index","2");
	$(".do-links-none").css("position","fixed");
	$(".hot-links-none").css("display","none");
	$(".work-links-none").css("display","none");
	$(".code-links-none").css("display","none");
	$(".office-links-none").css("display","none");
})
$("#index-pc-do").mouseleave(function(){
   $("#index-pc-do").css("border-bottom","none");
   $(".do-links-none").css("display","none");
})
$(".do-links-none").mouseover(function(){
    $("#index-pc-do").css("border-bottom","3px solid #0db3a6");
    $(".do-links-none").css("display","block");
})
$(".do-links-none").mouseleave(function(){
    $("#index-pc-do").css("border-bottom","none");
	$(".do-links-none").css("display","none");
	$(".do-links-none").css("z-index","0");

})